package com.cqust.mapper;

import com.cqust.pojo.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {
    List<Employee> getEmployees();
    Employee getEmployee(String id);
    void addEmployee(Employee employee);
    void deleteEmployee(String id);
    void updateEmployee(Employee employee);
//    模糊查询
    List<Employee> getEmployeeLike(@Param("name") String name,@Param("department") String department);
}
